package com.ykt.common.thirdapi.polyv.model;

/**
 * @author long.hua
 * @version 1.0.0
 * @since 2016-05-27 07:01
 */
public class PolyvVo <T>{

    private String total;
    private String error;
    private T data;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PolyvVo{");
        sb.append("total='").append(total).append('\'');
        sb.append(", error='").append(error).append('\'');
        sb.append(", data=").append(data);
        sb.append('}');
        return sb.toString();
    }
}
